﻿using System;

namespace SharpSqlAnalyzer.nodes.hive
{
	// Token: 0x02000418 RID: 1048
	public class THiveLockSqlNode : TParseTreeNode
	{
		// Token: 0x17000940 RID: 2368
		// (get) Token: 0x0600288B RID: 10379 RVA: 0x0033CA42 File Offset: 0x0033AC42
		public virtual TFromTable FromTable
		{
			get
			{
				return this.fromTable;
			}
		}

		// Token: 0x17000941 RID: 2369
		// (get) Token: 0x0600288C RID: 10380 RVA: 0x0033CA4A File Offset: 0x0033AC4A
		public virtual EHiveLockMode LockMode
		{
			get
			{
				return this.lockMode;
			}
		}

		// Token: 0x0600288D RID: 10381 RVA: 0x0033CA52 File Offset: 0x0033AC52
		public override void init(object arg1, object arg2)
		{
			this.fromTable = (TFromTable)arg1;
			if (((TSourceToken)arg2).tokencode == 538)
			{
				this.lockMode = EHiveLockMode.shared;
				return;
			}
			this.lockMode = EHiveLockMode.exclusive;
		}

		// Token: 0x04001E5E RID: 7774
		private EHiveLockMode lockMode;

		// Token: 0x04001E5F RID: 7775
		private TFromTable fromTable;
	}
}
